/*
** serv.h for minitalk in /u/all/caille_c/cu/minitalk/server
** 
** Made by carole cailleux
** Login   <caille_c@epitech.net>
** 
** Started on  Wed Feb 24 14:29:47 2010 carole cailleux
** Last update Fri Mar 12 18:07:58 2010 carole cailleux
*/

#ifndef		_SERV_H_
# define	_SERV_H_

#include <sys/types.h>
#include <sys/wait.h>

/* lib_1.c */
void		my_putchar(char c);
void		my_put_nbr(int nb);
void		my_putstr(char *str);
int		my_strlen(char *str);
int		power(int nb, int power);

/* serv.c */
void		cmpt();
void		handle_sig(int sig);

/* calc.c */
void		calc_octet(int sig, int i, int *val);
void		calc_pid(int *val);
void		calc_chara(int *val, int *i);

/* xfunctions_1.c */
void		my_perror(char *str);
int		xkill(pid_t pid, int sig);

#endif		/* _SERV_H_ */
